Configuring SNMPv3 Users via ini File

Use the [SNMPUsers] ini file table parameter to add, modify, and delete SNMPv3 users. The [SNMPUsers] ini table is a hidden parameter. Therefore, when you load the ini file to the device using the Web interface, the table is not included in the generated file.

SNMPv3 Table Columns Description

Parameter

Description

Default

Row number

Table index. Its valid range is 0 to 9.

N/A

SNMPUsers_Username

Name of the v3 user. Must be unique. The maximum length is 32 characters.

N/A

SNMPUsers_AuthProtocol

Authentication protocol to be used for this user. Possible values are 0 (none), 1 (MD5), 2 (SHA-1)

0

SNMPUsers_PrivProtocol

Privacy protocol to be used for this user. Possible values are 0 (none), 1 (DES), 2 (3DES), 3 (AES128), 4 (AES192), 5 (AES256)

0

SNMPUsers_AuthKey

Authentication key.

""

SNMPUsers_PrivKey

Privacy key.

""

SNMPUsers_Group

The group that this user is associated with. Possible values are 0 (read-only group), 1 (read-write group), and 2 (trap group). The actual group will be ReadGroup<sl>, ReadWriteGroup<sl> or TrapGroup<sl> where <sl> is the SecurityLevel (1=noAuthNoPriv, 2=authNoPriv, 3=authPriv)

0

Keys can be entered in the form of a text password or in the form of a localized key in hex format. If using a text password, then it should be at least 8 characters in length. Below is an example showing the format of a localized key:

26:60:d8:7d:0d:4a:d6:8c:02:73:dd:22:96:a2:69:df 

The following sample configuration creates three SNMPv3 USM users.

[ SNMPUsers ]
FORMAT SNMPUsers_Index = SNMPUsers_Username, SNMPUsers_AuthProtocol, SNMPUsers_PrivProtocol, SNMPUsers_AuthKey, SNMPUsers_PrivKey, SNMPUsers_Group;
SNMPUsers 0 = v3user, 0, 0, -, -, 0;
SNMPUsers 1 = v3admin1, 1, 0, myauthkey, -, 1;
SNMPUsers 2 = v3admin2, 2, 1, myauthkey, myprivkey, 1;
[ \SNMPUsers ]

The example above creates three SNMPv3 users:

The user v3user is set up for a security level of noAuthNoPriv(1) and is associated with ReadGroup1.
The user v3admin1 is setup for a security level of authNoPriv(2), with authentication protocol MD5. The authentication text password is “myauthkey” and the user is associated with ReadWriteGroup2.
The user v3admin2 is setup for a security level of authPriv(3), with authentication protocol SHA-1 and privacy protocol DES. The authentication text password is “myauthkey”, the privacy text password is “myprivkey”, and the user is associated with ReadWriteGroup3.